
export default {
    namespaced: true,
    state: {
        showTabbar: true,
        showSearch: true,
    },
    mutations: {
        /**
         * 显示底部菜单栏目
         */
        showTabbar(state){
            state.showTabbar = true;
        },
        /**
         * 隐藏底部菜单
         */
        hideTabbar(state){
            state.showTabbar = false;
        },
        /**
         * 显示搜索条
         */
        showSearch(state){
            state.showSearch = true;
        },
        /**
         * 隐藏搜索条
         */
        hideSearch(state){
            state.showSearch = false;
        },
    },
    actions: {

    },
    modules: {

    },
    plugins: [

    ]
}